package com.ymx.darling.generater.config;

/**
 * 全局配置
 * @author 爱Java的小于
 */
public class GlobalConfig {
    private String projectRoot;
    private String basePackage;
    private String author = "author";

    // 数据库连接信息
    private String username;
    private String password;
    private String driver;
    private String url;

    public GlobalConfig setProjectRoot(String projectRoot) {
        this.projectRoot = projectRoot;
        return this;
    }

    public String getProjectRoot() {
        return projectRoot;
    }

    public String getBasePackage() {
        return basePackage;
    }

    public GlobalConfig setBasePackage(String basePackage) {
        this.basePackage = basePackage;
        return this;
    }

    public String getAuthor() {
        return author;
    }

    public GlobalConfig setAuthor(String author) {
        this.author = author;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public GlobalConfig setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getPassword() {
        return password;
    }

    public GlobalConfig setPassword(String password) {
        this.password = password;
        return this;
    }

    public String getDriver() {
        return driver;
    }

    public GlobalConfig setDriver(String driver) {
        this.driver = driver;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public GlobalConfig setUrl(String url) {
        this.url = url;
        return this;
    }
}
